/*
 * NaseException.java
 *
 * Created on 2005��9��18��, ����3:28
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

package orest.common.util;

/**
 *
 * @author peng weimin
 */
public class RestException extends Exception {
    
    private String reason;
    
    /** Creates a new instance of NaseException */
    public RestException () {
    }
    
    public RestException (String reason) {
        super(reason);
        this.reason = reason;
    }
    
    public String toString(){
        return this.reason;
    }
    
}
